import { getValueInArray } from "../../core/utils/utils";

export const presitgeDefine = [
  { num: -2000, title: '仇恨' },
  { num: -1000, title: '敌对' },
  { num: -100, title: '冷淡' },
  { num: 0, title: '平淡' },
  { num: 100, title: '友好' },
  { num: 500, title: '尊敬' },
  { num: 1000, title: '崇敬' },
  { num: 2000, title: '崇拜' },
]

export const getPresitgeTitle = (num) => {
  return getValueInArray(presitgeDefine, num).title;
}